﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GoShopping.Utility.EnumBoundings
{
    public class ComboBoxItem
    {
        private string _Name;
        /// <summary>
        /// 枚举的Description
        /// </summary>
        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }
        private string _Value;
        /// <summary>
        /// 枚举的Key
        /// </summary>
        public string Value
        {
            get { return _Value; }
            set { _Value = value; }
        }

        private int _IntValue;
        /// <summary>
        /// 枚举对应的int值
        /// </summary>
        public int IntValue
        {
            get { return _IntValue; }
            set { _IntValue = value; }
        }

        public ComboBoxItem(string name, string value,int intValue)
        {
            Name = name;
            Value = value;
            _IntValue = intValue;
        }
    }
}
